import Vue from "vue";
import Router from "vue-router";

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/",
      name: "index",
      component: () => import("@/examples/index.vue")
    },
    {
      path: "/loading",
      name: "loading",
      component: () => import("@/examples/loading.vue")
    },
    {
      path: "/arrows",
      name: "arrows",
      component: () => import("@/examples/arrows.vue")
    },
    {
      path: "/round",
      name: "round",
      component: () => import("@/examples/round.vue")
    },
    {
      path: "/gallery",
      name: "gallery",
      component: () => import("@/examples/gallery.vue")
    },
    {
      path: "/swiper",
      name: "swiper",
      component: () => import("@/examples/swiper.vue")
    },
    {
      path: "/to_top",
      name: "toTop",
      component: () => import("@/examples/toTop.vue")
    },
    {
      path: "/choose_city",
      name: "chooseCity",
      component: () => import("@/examples/chooseCity/index.vue")
    },
    {
      path: "/choose_multi",
      name: "chooseMulti",
      component: () => import("@/examples/chooseMulti/index.vue")
    },
    {
      path: "/fixed_ball",
      name: "fixedBall",
      component: () => import("@/examples/fixedBall.vue")
    },
    {
      path: "/smart_fixed_ball",
      name: "smartFixedBall",
      component: () => import("@/examples/smartFixedBall.vue")
    }
  ]
});
